﻿#ifndef BUGREPORTDIALOG_H
#define BUGREPORTDIALOG_H

#include "components/FWidgets/Base/FDialog.h"
#include "utils/Network/MailSender.h"

namespace Ui {
class BugReportDialog;
}

class BugReportDialog : public FDialog
{
    Q_OBJECT

public:
    explicit BugReportDialog(QWidget *parent = nullptr);
    ~BugReportDialog();

private slots:
    void onAddAttachment();

    void on_btnSubmit_clicked();

    void on_btnCancel_clicked();

private:
    Ui::BugReportDialog *ui;
    MailSender m_sender;
};

#endif // BUGREPORTDIALOG_H
